# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-mame2000
pkgver=0_git20220413
pkgrel=0
_commit="dd9d6612c29bf5b29bc2f94cab2d43fe3dcd69ee"
pkgdesc="Multiple Arcade Machine Emulator for libretro (2000)"
url="https://github.com/libretro/mame2000-libretro"
arch="all !aarch64"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/mame2000-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/mame2000-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mame2000_libretro.so "$pkgdir"/usr/lib/libretro/mame2000_libretro.so
}

sha512sums="
ee8905490e035718b10cf9bf4ff61740fe92db35281d3f87bf0111e44872846186d895457ee6ffd397f9e1b8c4bf9fe2b3b7bc13492b65405b85eff2754c82ae  libretro-mame2000-dd9d6612c29bf5b29bc2f94cab2d43fe3dcd69ee.tar.gz
"
